{include file="public:header"}
<!--aside nav-->
{include file="public:left"}
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<style>
  .flexigrid .hDiv th div, .flexigrid .bDiv td div, .colCopy div{height: auto}
</style>
<div class="page">
  <div class="flexigrid">

    <div class="mDiv">
      <div class="ftitle">
        <h3>充值消费统计</h3>
        <h5>(共{$list_count}条记录)</h5>

      </div>
      <div title="" class="pReload">
        充值总金额：{$total_money}元
        &nbsp;&nbsp;&nbsp;
        扣取总金额：{$cat_money}元
      </div>
      <form class="navbar-form form-inline" action="" method="get">
        <div class="sDiv">
          <div class="sDiv2">
            <select name="type" class="select" style="width:80px">
              <option value="">类型</option>
              <option value="0" {eq name="type" value="0"}selected {/eq}>全部</option>
              <option value="1" {eq name="type" value="1"}selected {/eq}>充值</option>
              <option value="-1" {eq name="type" value="-1"}selected {/eq}>扣取</option>
            </select>
            <input  class="btn" type="submit" value="搜索">
          </div>
        </div>
      </form>
    </div>
    <div class="hDiv">
      <div class="hDivBox">
        <table cellspacing="0" cellpadding="0">
          <thead>
          <tr>
            <th class="sign" axis="col0">
              <div style="width: 50px;"><i class="ico-check"></i></div>
            </th>
            <th align="left" class="">
              <div style="text-align: left; width: 24px;">ID</div>
            </th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 100px;" class="">金额</div></th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 120px;" class="">时间</div></th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 120px;" class="">类型</div>
            </th>
            <th align="left" abbr="ac_id" axis="col4" class="">
              <div style="text-align: left; width: 120px;" class="">扣费描述</div>
            </th>
            <th style="width:100%" axis="col7">
              <div></div>
            </th>
          </tr>
          </thead>
        </table>
      </div>
    </div>
    <div class="bDiv" style="height: auto;">
      <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
        <table>
          <tbody>
            {volist name="list" id="vo"}
            <tr>
              <td class="sign">
                <div style="width: 50px;"><i class="ico-check"></i></div>
              </td>
              <td class="sign">
                <div style="text-align: left;width: 50px;">{$vo.id}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 100px;">{$vo.money}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 120px;">{$vo.time}</div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 120px;">
                    {if condition="$vo.type eq 1"}
                        充值
                    {/if}
                    {if condition="$vo.type eq -1"}
                        扣除
                    {/if}
                </div>
              </td>
              <td align="left" class="">
                <div style="text-align: left; width: 120px;">
                {if condition="$vo['text_content'] != ''"}
                号码数：{$vo['moble_count']}</br>
                单价：{$vo['sms_price']}
                {else /}
                充值金额：{$vo.money}
                {/if}
                </div>
              </td>
              
              <td align="left" class="">
                <div style="text-align: left; width: 120px;"><gt name="vo.check_time" value="0"></gt></div>
              </td>
              <td align="" class="" style="width: 100%;">
                <div>&nbsp;</div>
              </td>
            </tr>
           {/volist}
          </tbody>
        </table>
      </div>
      <div class="iDiv" style="display: none;"></div>
    </div>
    <!--分页位置-->
    {$list->render()} 
  </div>
</div>


</body>
</html>
</html>
